body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #1d1d1f;
}

#todo-form {
    display: flex;
    margin-bottom: 20px;
}

#todo-input,
#search-input {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    width: calc(100% - 80px);
}

#todo-input {
    border-radius: 8px 0 0 8px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    width: 80px;
}

#todo-list {
    list-style-type: none;
    padding: 0;
}

.todo-item {
    background-color: white;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.todo-item.completed {
    opacity: 0.6;
}

.todo-item input[type="checkbox"] {
    margin-right: 10px;
}

.todo-item .text {
    flex-grow: 1;
    margin-right: 10px;
}

.todo-item .edit-input {
    flex-grow: 1;
    margin-right: 10px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #d2d2d7;
    border-radius: 4px;
}

.todo-item .time {
    font-size: 12px;
    color: #86868b;
    margin-right: 10px;
}

.todo-item .actions {
    display: flex;
    align-items: center;
}

.todo-item .edit,
.todo-item .delete {
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
}

.todo-item .edit {
    color: #0071e3;
}

.todo-item .delete {
    color: #ff3b30;
}

#search-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* 添加以下样式 */
.todo-item .status {
    font-size: 12px;
    margin-right: 10px;
}

.todo-item .status-select {
    font-size: 12px;
    margin-left: 10px;
}

.todo-item.todo {
    border-left: 3px solid #007AFF;
}

.todo-item.doing {
    border-left: 3px solid #FF9500;
}

.todo-item.done {
    border-left: 3px solid #4CD964;
}
